Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify build backend and project metadata in pyproject.toml #100

Merged
merged 9 commits into from
Oct 10, 2022

Conversation

maxrjones
Copy link
Member

@maxrjones maxrjones commented Oct 6, 2022

@codecov-commenter
Copy link

codecov-commenter commented Oct 6, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (54ebaa7) to head (fa4a38f).
Report is 78 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #100   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          182       182           
  Branches        33        33           
=========================================
  Hits           182       182           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maxrjones maxrjones changed the title WIP: Specify build backend and project metadata in pyproject.toml Specify build backend and project metadata in pyproject.toml Oct 6, 2022
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor comments, running pip install git+https://github.com/xarray-contrib/xbatcher.git@project-metadata works, so I think it's more or less ok.

pyproject.toml Outdated Show resolved Hide resolved
Comment on lines +54 to +57
[tool.setuptools_scm]
version_scheme = 'post-release'
local_scheme = 'dirty-tag'
fallback_version = "999"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note that this might need to change if/when a 'Publish to PyPI' GitHub Actions is created, but ok as is for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, thanks!

@maxrjones maxrjones added the maintenance Maintenance tasks label Oct 6, 2022
@maxrjones maxrjones mentioned this pull request Oct 7, 2022
5 tasks
@maxrjones
Copy link
Member Author

Leaving a note that I removed the changes relevant to #99 from this PR in order to isolate those changes and the necessary discussion to a smaller PR.

@maxrjones maxrjones merged commit 44fd755 into main Oct 10, 2022
@maxrjones maxrjones deleted the project-metadata branch October 10, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants